﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="3-6.aspx.cs" Inherits="计科2111林开心06._3_6" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div style="height: 132px">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="SqlDataSource1">
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" SortExpression="id" />
                    <asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
                    <asp:BoundField DataField="sex" HeaderText="sex" SortExpression="sex" />
                    <asp:BoundField DataField="img" HeaderText="img" SortExpression="img" />
                    <asp:BoundField DataField="cid" HeaderText="cid" SortExpression="cid" />
                    <asp:BoundField DataField="score" HeaderText="score" SortExpression="score" />
                  
                    <asp:CommandField HeaderText="修改"  ShowEditButton="true"/>
                     
                     
                    
                    <asp:ImageField DataImageUrlField="img" DataImageUrlFormatString="/image/图片1.png" HeaderText="image" ControlStyle-Height="40px" ControlStyle-BorderWidth="40px">
                    </asp:ImageField>
                     
                    
                </Columns>
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:StuInfoConnectionString %>" SelectCommand="SELECT * FROM [Studnet]"></asp:SqlDataSource>
        </div>
    </form>
</body>
</html>
